//var Hyperlink = UcsmyUI.HyperLink;
var Hyperlink = require('../../../src/libs/hyperlink');
var Root = React.createClass({
    handle:function (){
        alert(111);
    },
    render:function(){
        return (
            <div>
                <Hyperlink id="link" text = "111" className = "aaa" onClick = {this.handle}/><br/>
                <Hyperlink href = "http://www.baidu.com" text = {<span>百度</span>} className = "aaa"/>
            </div>
        )
    }
});
ReactDOM.render(<Root/>,document.getElementById('main'));